package com.itcncp.wechat.app.dao.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class UserCarInfoExample implements Serializable {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private static final long serialVersionUID = 1L;

    public UserCarInfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria implements Serializable {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Long value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Long value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Long value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Long value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Long value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Long> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Long> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Long value1, Long value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Long value1, Long value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andPlateIsNull() {
            addCriterion("plate is null");
            return (Criteria) this;
        }

        public Criteria andPlateIsNotNull() {
            addCriterion("plate is not null");
            return (Criteria) this;
        }

        public Criteria andPlateEqualTo(String value) {
            addCriterion("plate =", value, "plate");
            return (Criteria) this;
        }

        public Criteria andPlateNotEqualTo(String value) {
            addCriterion("plate <>", value, "plate");
            return (Criteria) this;
        }

        public Criteria andPlateGreaterThan(String value) {
            addCriterion("plate >", value, "plate");
            return (Criteria) this;
        }

        public Criteria andPlateGreaterThanOrEqualTo(String value) {
            addCriterion("plate >=", value, "plate");
            return (Criteria) this;
        }

        public Criteria andPlateLessThan(String value) {
            addCriterion("plate <", value, "plate");
            return (Criteria) this;
        }

        public Criteria andPlateLessThanOrEqualTo(String value) {
            addCriterion("plate <=", value, "plate");
            return (Criteria) this;
        }

        public Criteria andPlateLike(String value) {
            addCriterion("plate like", value, "plate");
            return (Criteria) this;
        }

        public Criteria andPlateNotLike(String value) {
            addCriterion("plate not like", value, "plate");
            return (Criteria) this;
        }

        public Criteria andPlateIn(List<String> values) {
            addCriterion("plate in", values, "plate");
            return (Criteria) this;
        }

        public Criteria andPlateNotIn(List<String> values) {
            addCriterion("plate not in", values, "plate");
            return (Criteria) this;
        }

        public Criteria andPlateBetween(String value1, String value2) {
            addCriterion("plate between", value1, value2, "plate");
            return (Criteria) this;
        }

        public Criteria andPlateNotBetween(String value1, String value2) {
            addCriterion("plate not between", value1, value2, "plate");
            return (Criteria) this;
        }

        public Criteria andPlateColorIsNull() {
            addCriterion("plate_color is null");
            return (Criteria) this;
        }

        public Criteria andPlateColorIsNotNull() {
            addCriterion("plate_color is not null");
            return (Criteria) this;
        }

        public Criteria andPlateColorEqualTo(Byte value) {
            addCriterion("plate_color =", value, "plateColor");
            return (Criteria) this;
        }

        public Criteria andPlateColorNotEqualTo(Byte value) {
            addCriterion("plate_color <>", value, "plateColor");
            return (Criteria) this;
        }

        public Criteria andPlateColorGreaterThan(Byte value) {
            addCriterion("plate_color >", value, "plateColor");
            return (Criteria) this;
        }

        public Criteria andPlateColorGreaterThanOrEqualTo(Byte value) {
            addCriterion("plate_color >=", value, "plateColor");
            return (Criteria) this;
        }

        public Criteria andPlateColorLessThan(Byte value) {
            addCriterion("plate_color <", value, "plateColor");
            return (Criteria) this;
        }

        public Criteria andPlateColorLessThanOrEqualTo(Byte value) {
            addCriterion("plate_color <=", value, "plateColor");
            return (Criteria) this;
        }

        public Criteria andPlateColorIn(List<Byte> values) {
            addCriterion("plate_color in", values, "plateColor");
            return (Criteria) this;
        }

        public Criteria andPlateColorNotIn(List<Byte> values) {
            addCriterion("plate_color not in", values, "plateColor");
            return (Criteria) this;
        }

        public Criteria andPlateColorBetween(Byte value1, Byte value2) {
            addCriterion("plate_color between", value1, value2, "plateColor");
            return (Criteria) this;
        }

        public Criteria andPlateColorNotBetween(Byte value1, Byte value2) {
            addCriterion("plate_color not between", value1, value2, "plateColor");
            return (Criteria) this;
        }

        public Criteria andCarClassIsNull() {
            addCriterion("car_class is null");
            return (Criteria) this;
        }

        public Criteria andCarClassIsNotNull() {
            addCriterion("car_class is not null");
            return (Criteria) this;
        }

        public Criteria andCarClassEqualTo(Byte value) {
            addCriterion("car_class =", value, "carClass");
            return (Criteria) this;
        }

        public Criteria andCarClassNotEqualTo(Byte value) {
            addCriterion("car_class <>", value, "carClass");
            return (Criteria) this;
        }

        public Criteria andCarClassGreaterThan(Byte value) {
            addCriterion("car_class >", value, "carClass");
            return (Criteria) this;
        }

        public Criteria andCarClassGreaterThanOrEqualTo(Byte value) {
            addCriterion("car_class >=", value, "carClass");
            return (Criteria) this;
        }

        public Criteria andCarClassLessThan(Byte value) {
            addCriterion("car_class <", value, "carClass");
            return (Criteria) this;
        }

        public Criteria andCarClassLessThanOrEqualTo(Byte value) {
            addCriterion("car_class <=", value, "carClass");
            return (Criteria) this;
        }

        public Criteria andCarClassIn(List<Byte> values) {
            addCriterion("car_class in", values, "carClass");
            return (Criteria) this;
        }

        public Criteria andCarClassNotIn(List<Byte> values) {
            addCriterion("car_class not in", values, "carClass");
            return (Criteria) this;
        }

        public Criteria andCarClassBetween(Byte value1, Byte value2) {
            addCriterion("car_class between", value1, value2, "carClass");
            return (Criteria) this;
        }

        public Criteria andCarClassNotBetween(Byte value1, Byte value2) {
            addCriterion("car_class not between", value1, value2, "carClass");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andVehicleTypeIsNull() {
            addCriterion("vehicle_type is null");
            return (Criteria) this;
        }

        public Criteria andVehicleTypeIsNotNull() {
            addCriterion("vehicle_type is not null");
            return (Criteria) this;
        }

        public Criteria andVehicleTypeEqualTo(String value) {
            addCriterion("vehicle_type =", value, "vehicleType");
            return (Criteria) this;
        }

        public Criteria andVehicleTypeNotEqualTo(String value) {
            addCriterion("vehicle_type <>", value, "vehicleType");
            return (Criteria) this;
        }

        public Criteria andVehicleTypeGreaterThan(String value) {
            addCriterion("vehicle_type >", value, "vehicleType");
            return (Criteria) this;
        }

        public Criteria andVehicleTypeGreaterThanOrEqualTo(String value) {
            addCriterion("vehicle_type >=", value, "vehicleType");
            return (Criteria) this;
        }

        public Criteria andVehicleTypeLessThan(String value) {
            addCriterion("vehicle_type <", value, "vehicleType");
            return (Criteria) this;
        }

        public Criteria andVehicleTypeLessThanOrEqualTo(String value) {
            addCriterion("vehicle_type <=", value, "vehicleType");
            return (Criteria) this;
        }

        public Criteria andVehicleTypeLike(String value) {
            addCriterion("vehicle_type like", value, "vehicleType");
            return (Criteria) this;
        }

        public Criteria andVehicleTypeNotLike(String value) {
            addCriterion("vehicle_type not like", value, "vehicleType");
            return (Criteria) this;
        }

        public Criteria andVehicleTypeIn(List<String> values) {
            addCriterion("vehicle_type in", values, "vehicleType");
            return (Criteria) this;
        }

        public Criteria andVehicleTypeNotIn(List<String> values) {
            addCriterion("vehicle_type not in", values, "vehicleType");
            return (Criteria) this;
        }

        public Criteria andVehicleTypeBetween(String value1, String value2) {
            addCriterion("vehicle_type between", value1, value2, "vehicleType");
            return (Criteria) this;
        }

        public Criteria andVehicleTypeNotBetween(String value1, String value2) {
            addCriterion("vehicle_type not between", value1, value2, "vehicleType");
            return (Criteria) this;
        }

        public Criteria andVehicleModelIsNull() {
            addCriterion("vehicle_model is null");
            return (Criteria) this;
        }

        public Criteria andVehicleModelIsNotNull() {
            addCriterion("vehicle_model is not null");
            return (Criteria) this;
        }

        public Criteria andVehicleModelEqualTo(String value) {
            addCriterion("vehicle_model =", value, "vehicleModel");
            return (Criteria) this;
        }

        public Criteria andVehicleModelNotEqualTo(String value) {
            addCriterion("vehicle_model <>", value, "vehicleModel");
            return (Criteria) this;
        }

        public Criteria andVehicleModelGreaterThan(String value) {
            addCriterion("vehicle_model >", value, "vehicleModel");
            return (Criteria) this;
        }

        public Criteria andVehicleModelGreaterThanOrEqualTo(String value) {
            addCriterion("vehicle_model >=", value, "vehicleModel");
            return (Criteria) this;
        }

        public Criteria andVehicleModelLessThan(String value) {
            addCriterion("vehicle_model <", value, "vehicleModel");
            return (Criteria) this;
        }

        public Criteria andVehicleModelLessThanOrEqualTo(String value) {
            addCriterion("vehicle_model <=", value, "vehicleModel");
            return (Criteria) this;
        }

        public Criteria andVehicleModelLike(String value) {
            addCriterion("vehicle_model like", value, "vehicleModel");
            return (Criteria) this;
        }

        public Criteria andVehicleModelNotLike(String value) {
            addCriterion("vehicle_model not like", value, "vehicleModel");
            return (Criteria) this;
        }

        public Criteria andVehicleModelIn(List<String> values) {
            addCriterion("vehicle_model in", values, "vehicleModel");
            return (Criteria) this;
        }

        public Criteria andVehicleModelNotIn(List<String> values) {
            addCriterion("vehicle_model not in", values, "vehicleModel");
            return (Criteria) this;
        }

        public Criteria andVehicleModelBetween(String value1, String value2) {
            addCriterion("vehicle_model between", value1, value2, "vehicleModel");
            return (Criteria) this;
        }

        public Criteria andVehicleModelNotBetween(String value1, String value2) {
            addCriterion("vehicle_model not between", value1, value2, "vehicleModel");
            return (Criteria) this;
        }

        public Criteria andUseCharacterIsNull() {
            addCriterion("use_character is null");
            return (Criteria) this;
        }

        public Criteria andUseCharacterIsNotNull() {
            addCriterion("use_character is not null");
            return (Criteria) this;
        }

        public Criteria andUseCharacterEqualTo(Byte value) {
            addCriterion("use_character =", value, "useCharacter");
            return (Criteria) this;
        }

        public Criteria andUseCharacterNotEqualTo(Byte value) {
            addCriterion("use_character <>", value, "useCharacter");
            return (Criteria) this;
        }

        public Criteria andUseCharacterGreaterThan(Byte value) {
            addCriterion("use_character >", value, "useCharacter");
            return (Criteria) this;
        }

        public Criteria andUseCharacterGreaterThanOrEqualTo(Byte value) {
            addCriterion("use_character >=", value, "useCharacter");
            return (Criteria) this;
        }

        public Criteria andUseCharacterLessThan(Byte value) {
            addCriterion("use_character <", value, "useCharacter");
            return (Criteria) this;
        }

        public Criteria andUseCharacterLessThanOrEqualTo(Byte value) {
            addCriterion("use_character <=", value, "useCharacter");
            return (Criteria) this;
        }

        public Criteria andUseCharacterIn(List<Byte> values) {
            addCriterion("use_character in", values, "useCharacter");
            return (Criteria) this;
        }

        public Criteria andUseCharacterNotIn(List<Byte> values) {
            addCriterion("use_character not in", values, "useCharacter");
            return (Criteria) this;
        }

        public Criteria andUseCharacterBetween(Byte value1, Byte value2) {
            addCriterion("use_character between", value1, value2, "useCharacter");
            return (Criteria) this;
        }

        public Criteria andUseCharacterNotBetween(Byte value1, Byte value2) {
            addCriterion("use_character not between", value1, value2, "useCharacter");
            return (Criteria) this;
        }

        public Criteria andVinIsNull() {
            addCriterion("vin is null");
            return (Criteria) this;
        }

        public Criteria andVinIsNotNull() {
            addCriterion("vin is not null");
            return (Criteria) this;
        }

        public Criteria andVinEqualTo(String value) {
            addCriterion("vin =", value, "vin");
            return (Criteria) this;
        }

        public Criteria andVinNotEqualTo(String value) {
            addCriterion("vin <>", value, "vin");
            return (Criteria) this;
        }

        public Criteria andVinGreaterThan(String value) {
            addCriterion("vin >", value, "vin");
            return (Criteria) this;
        }

        public Criteria andVinGreaterThanOrEqualTo(String value) {
            addCriterion("vin >=", value, "vin");
            return (Criteria) this;
        }

        public Criteria andVinLessThan(String value) {
            addCriterion("vin <", value, "vin");
            return (Criteria) this;
        }

        public Criteria andVinLessThanOrEqualTo(String value) {
            addCriterion("vin <=", value, "vin");
            return (Criteria) this;
        }

        public Criteria andVinLike(String value) {
            addCriterion("vin like", value, "vin");
            return (Criteria) this;
        }

        public Criteria andVinNotLike(String value) {
            addCriterion("vin not like", value, "vin");
            return (Criteria) this;
        }

        public Criteria andVinIn(List<String> values) {
            addCriterion("vin in", values, "vin");
            return (Criteria) this;
        }

        public Criteria andVinNotIn(List<String> values) {
            addCriterion("vin not in", values, "vin");
            return (Criteria) this;
        }

        public Criteria andVinBetween(String value1, String value2) {
            addCriterion("vin between", value1, value2, "vin");
            return (Criteria) this;
        }

        public Criteria andVinNotBetween(String value1, String value2) {
            addCriterion("vin not between", value1, value2, "vin");
            return (Criteria) this;
        }

        public Criteria andEngineIsNull() {
            addCriterion("engine is null");
            return (Criteria) this;
        }

        public Criteria andEngineIsNotNull() {
            addCriterion("engine is not null");
            return (Criteria) this;
        }

        public Criteria andEngineEqualTo(String value) {
            addCriterion("engine =", value, "engine");
            return (Criteria) this;
        }

        public Criteria andEngineNotEqualTo(String value) {
            addCriterion("engine <>", value, "engine");
            return (Criteria) this;
        }

        public Criteria andEngineGreaterThan(String value) {
            addCriterion("engine >", value, "engine");
            return (Criteria) this;
        }

        public Criteria andEngineGreaterThanOrEqualTo(String value) {
            addCriterion("engine >=", value, "engine");
            return (Criteria) this;
        }

        public Criteria andEngineLessThan(String value) {
            addCriterion("engine <", value, "engine");
            return (Criteria) this;
        }

        public Criteria andEngineLessThanOrEqualTo(String value) {
            addCriterion("engine <=", value, "engine");
            return (Criteria) this;
        }

        public Criteria andEngineLike(String value) {
            addCriterion("engine like", value, "engine");
            return (Criteria) this;
        }

        public Criteria andEngineNotLike(String value) {
            addCriterion("engine not like", value, "engine");
            return (Criteria) this;
        }

        public Criteria andEngineIn(List<String> values) {
            addCriterion("engine in", values, "engine");
            return (Criteria) this;
        }

        public Criteria andEngineNotIn(List<String> values) {
            addCriterion("engine not in", values, "engine");
            return (Criteria) this;
        }

        public Criteria andEngineBetween(String value1, String value2) {
            addCriterion("engine between", value1, value2, "engine");
            return (Criteria) this;
        }

        public Criteria andEngineNotBetween(String value1, String value2) {
            addCriterion("engine not between", value1, value2, "engine");
            return (Criteria) this;
        }

        public Criteria andRegisterDateIsNull() {
            addCriterion("register_date is null");
            return (Criteria) this;
        }

        public Criteria andRegisterDateIsNotNull() {
            addCriterion("register_date is not null");
            return (Criteria) this;
        }

        public Criteria andRegisterDateEqualTo(Date value) {
            addCriterionForJDBCDate("register_date =", value, "registerDate");
            return (Criteria) this;
        }

        public Criteria andRegisterDateNotEqualTo(Date value) {
            addCriterionForJDBCDate("register_date <>", value, "registerDate");
            return (Criteria) this;
        }

        public Criteria andRegisterDateGreaterThan(Date value) {
            addCriterionForJDBCDate("register_date >", value, "registerDate");
            return (Criteria) this;
        }

        public Criteria andRegisterDateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("register_date >=", value, "registerDate");
            return (Criteria) this;
        }

        public Criteria andRegisterDateLessThan(Date value) {
            addCriterionForJDBCDate("register_date <", value, "registerDate");
            return (Criteria) this;
        }

        public Criteria andRegisterDateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("register_date <=", value, "registerDate");
            return (Criteria) this;
        }

        public Criteria andRegisterDateIn(List<Date> values) {
            addCriterionForJDBCDate("register_date in", values, "registerDate");
            return (Criteria) this;
        }

        public Criteria andRegisterDateNotIn(List<Date> values) {
            addCriterionForJDBCDate("register_date not in", values, "registerDate");
            return (Criteria) this;
        }

        public Criteria andRegisterDateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("register_date between", value1, value2, "registerDate");
            return (Criteria) this;
        }

        public Criteria andRegisterDateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("register_date not between", value1, value2, "registerDate");
            return (Criteria) this;
        }

        public Criteria andIssueDateIsNull() {
            addCriterion("issue_date is null");
            return (Criteria) this;
        }

        public Criteria andIssueDateIsNotNull() {
            addCriterion("issue_date is not null");
            return (Criteria) this;
        }

        public Criteria andIssueDateEqualTo(Date value) {
            addCriterionForJDBCDate("issue_date =", value, "issueDate");
            return (Criteria) this;
        }

        public Criteria andIssueDateNotEqualTo(Date value) {
            addCriterionForJDBCDate("issue_date <>", value, "issueDate");
            return (Criteria) this;
        }

        public Criteria andIssueDateGreaterThan(Date value) {
            addCriterionForJDBCDate("issue_date >", value, "issueDate");
            return (Criteria) this;
        }

        public Criteria andIssueDateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("issue_date >=", value, "issueDate");
            return (Criteria) this;
        }

        public Criteria andIssueDateLessThan(Date value) {
            addCriterionForJDBCDate("issue_date <", value, "issueDate");
            return (Criteria) this;
        }

        public Criteria andIssueDateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("issue_date <=", value, "issueDate");
            return (Criteria) this;
        }

        public Criteria andIssueDateIn(List<Date> values) {
            addCriterionForJDBCDate("issue_date in", values, "issueDate");
            return (Criteria) this;
        }

        public Criteria andIssueDateNotIn(List<Date> values) {
            addCriterionForJDBCDate("issue_date not in", values, "issueDate");
            return (Criteria) this;
        }

        public Criteria andIssueDateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("issue_date between", value1, value2, "issueDate");
            return (Criteria) this;
        }

        public Criteria andIssueDateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("issue_date not between", value1, value2, "issueDate");
            return (Criteria) this;
        }

        public Criteria andApprovedCountIsNull() {
            addCriterion("approved_count is null");
            return (Criteria) this;
        }

        public Criteria andApprovedCountIsNotNull() {
            addCriterion("approved_count is not null");
            return (Criteria) this;
        }

        public Criteria andApprovedCountEqualTo(Integer value) {
            addCriterion("approved_count =", value, "approvedCount");
            return (Criteria) this;
        }

        public Criteria andApprovedCountNotEqualTo(Integer value) {
            addCriterion("approved_count <>", value, "approvedCount");
            return (Criteria) this;
        }

        public Criteria andApprovedCountGreaterThan(Integer value) {
            addCriterion("approved_count >", value, "approvedCount");
            return (Criteria) this;
        }

        public Criteria andApprovedCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("approved_count >=", value, "approvedCount");
            return (Criteria) this;
        }

        public Criteria andApprovedCountLessThan(Integer value) {
            addCriterion("approved_count <", value, "approvedCount");
            return (Criteria) this;
        }

        public Criteria andApprovedCountLessThanOrEqualTo(Integer value) {
            addCriterion("approved_count <=", value, "approvedCount");
            return (Criteria) this;
        }

        public Criteria andApprovedCountIn(List<Integer> values) {
            addCriterion("approved_count in", values, "approvedCount");
            return (Criteria) this;
        }

        public Criteria andApprovedCountNotIn(List<Integer> values) {
            addCriterion("approved_count not in", values, "approvedCount");
            return (Criteria) this;
        }

        public Criteria andApprovedCountBetween(Integer value1, Integer value2) {
            addCriterion("approved_count between", value1, value2, "approvedCount");
            return (Criteria) this;
        }

        public Criteria andApprovedCountNotBetween(Integer value1, Integer value2) {
            addCriterion("approved_count not between", value1, value2, "approvedCount");
            return (Criteria) this;
        }

        public Criteria andPermittedWeightIsNull() {
            addCriterion("permitted_weight is null");
            return (Criteria) this;
        }

        public Criteria andPermittedWeightIsNotNull() {
            addCriterion("permitted_weight is not null");
            return (Criteria) this;
        }

        public Criteria andPermittedWeightEqualTo(Integer value) {
            addCriterion("permitted_weight =", value, "permittedWeight");
            return (Criteria) this;
        }

        public Criteria andPermittedWeightNotEqualTo(Integer value) {
            addCriterion("permitted_weight <>", value, "permittedWeight");
            return (Criteria) this;
        }

        public Criteria andPermittedWeightGreaterThan(Integer value) {
            addCriterion("permitted_weight >", value, "permittedWeight");
            return (Criteria) this;
        }

        public Criteria andPermittedWeightGreaterThanOrEqualTo(Integer value) {
            addCriterion("permitted_weight >=", value, "permittedWeight");
            return (Criteria) this;
        }

        public Criteria andPermittedWeightLessThan(Integer value) {
            addCriterion("permitted_weight <", value, "permittedWeight");
            return (Criteria) this;
        }

        public Criteria andPermittedWeightLessThanOrEqualTo(Integer value) {
            addCriterion("permitted_weight <=", value, "permittedWeight");
            return (Criteria) this;
        }

        public Criteria andPermittedWeightIn(List<Integer> values) {
            addCriterion("permitted_weight in", values, "permittedWeight");
            return (Criteria) this;
        }

        public Criteria andPermittedWeightNotIn(List<Integer> values) {
            addCriterion("permitted_weight not in", values, "permittedWeight");
            return (Criteria) this;
        }

        public Criteria andPermittedWeightBetween(Integer value1, Integer value2) {
            addCriterion("permitted_weight between", value1, value2, "permittedWeight");
            return (Criteria) this;
        }

        public Criteria andPermittedWeightNotBetween(Integer value1, Integer value2) {
            addCriterion("permitted_weight not between", value1, value2, "permittedWeight");
            return (Criteria) this;
        }

        public Criteria andIsCheckIsNull() {
            addCriterion("is_check is null");
            return (Criteria) this;
        }

        public Criteria andIsCheckIsNotNull() {
            addCriterion("is_check is not null");
            return (Criteria) this;
        }

        public Criteria andIsCheckEqualTo(Byte value) {
            addCriterion("is_check =", value, "isCheck");
            return (Criteria) this;
        }

        public Criteria andIsCheckNotEqualTo(Byte value) {
            addCriterion("is_check <>", value, "isCheck");
            return (Criteria) this;
        }

        public Criteria andIsCheckGreaterThan(Byte value) {
            addCriterion("is_check >", value, "isCheck");
            return (Criteria) this;
        }

        public Criteria andIsCheckGreaterThanOrEqualTo(Byte value) {
            addCriterion("is_check >=", value, "isCheck");
            return (Criteria) this;
        }

        public Criteria andIsCheckLessThan(Byte value) {
            addCriterion("is_check <", value, "isCheck");
            return (Criteria) this;
        }

        public Criteria andIsCheckLessThanOrEqualTo(Byte value) {
            addCriterion("is_check <=", value, "isCheck");
            return (Criteria) this;
        }

        public Criteria andIsCheckIn(List<Byte> values) {
            addCriterion("is_check in", values, "isCheck");
            return (Criteria) this;
        }

        public Criteria andIsCheckNotIn(List<Byte> values) {
            addCriterion("is_check not in", values, "isCheck");
            return (Criteria) this;
        }

        public Criteria andIsCheckBetween(Byte value1, Byte value2) {
            addCriterion("is_check between", value1, value2, "isCheck");
            return (Criteria) this;
        }

        public Criteria andIsCheckNotBetween(Byte value1, Byte value2) {
            addCriterion("is_check not between", value1, value2, "isCheck");
            return (Criteria) this;
        }

        public Criteria andCheckMsgIsNull() {
            addCriterion("check_msg is null");
            return (Criteria) this;
        }

        public Criteria andCheckMsgIsNotNull() {
            addCriterion("check_msg is not null");
            return (Criteria) this;
        }

        public Criteria andCheckMsgEqualTo(String value) {
            addCriterion("check_msg =", value, "checkMsg");
            return (Criteria) this;
        }

        public Criteria andCheckMsgNotEqualTo(String value) {
            addCriterion("check_msg <>", value, "checkMsg");
            return (Criteria) this;
        }

        public Criteria andCheckMsgGreaterThan(String value) {
            addCriterion("check_msg >", value, "checkMsg");
            return (Criteria) this;
        }

        public Criteria andCheckMsgGreaterThanOrEqualTo(String value) {
            addCriterion("check_msg >=", value, "checkMsg");
            return (Criteria) this;
        }

        public Criteria andCheckMsgLessThan(String value) {
            addCriterion("check_msg <", value, "checkMsg");
            return (Criteria) this;
        }

        public Criteria andCheckMsgLessThanOrEqualTo(String value) {
            addCriterion("check_msg <=", value, "checkMsg");
            return (Criteria) this;
        }

        public Criteria andCheckMsgLike(String value) {
            addCriterion("check_msg like", value, "checkMsg");
            return (Criteria) this;
        }

        public Criteria andCheckMsgNotLike(String value) {
            addCriterion("check_msg not like", value, "checkMsg");
            return (Criteria) this;
        }

        public Criteria andCheckMsgIn(List<String> values) {
            addCriterion("check_msg in", values, "checkMsg");
            return (Criteria) this;
        }

        public Criteria andCheckMsgNotIn(List<String> values) {
            addCriterion("check_msg not in", values, "checkMsg");
            return (Criteria) this;
        }

        public Criteria andCheckMsgBetween(String value1, String value2) {
            addCriterion("check_msg between", value1, value2, "checkMsg");
            return (Criteria) this;
        }

        public Criteria andCheckMsgNotBetween(String value1, String value2) {
            addCriterion("check_msg not between", value1, value2, "checkMsg");
            return (Criteria) this;
        }

        public Criteria andDrivingLicenceIsNull() {
            addCriterion("driving_licence is null");
            return (Criteria) this;
        }

        public Criteria andDrivingLicenceIsNotNull() {
            addCriterion("driving_licence is not null");
            return (Criteria) this;
        }

        public Criteria andDrivingLicenceEqualTo(String value) {
            addCriterion("driving_licence =", value, "drivingLicence");
            return (Criteria) this;
        }

        public Criteria andDrivingLicenceNotEqualTo(String value) {
            addCriterion("driving_licence <>", value, "drivingLicence");
            return (Criteria) this;
        }

        public Criteria andDrivingLicenceGreaterThan(String value) {
            addCriterion("driving_licence >", value, "drivingLicence");
            return (Criteria) this;
        }

        public Criteria andDrivingLicenceGreaterThanOrEqualTo(String value) {
            addCriterion("driving_licence >=", value, "drivingLicence");
            return (Criteria) this;
        }

        public Criteria andDrivingLicenceLessThan(String value) {
            addCriterion("driving_licence <", value, "drivingLicence");
            return (Criteria) this;
        }

        public Criteria andDrivingLicenceLessThanOrEqualTo(String value) {
            addCriterion("driving_licence <=", value, "drivingLicence");
            return (Criteria) this;
        }

        public Criteria andDrivingLicenceLike(String value) {
            addCriterion("driving_licence like", value, "drivingLicence");
            return (Criteria) this;
        }

        public Criteria andDrivingLicenceNotLike(String value) {
            addCriterion("driving_licence not like", value, "drivingLicence");
            return (Criteria) this;
        }

        public Criteria andDrivingLicenceIn(List<String> values) {
            addCriterion("driving_licence in", values, "drivingLicence");
            return (Criteria) this;
        }

        public Criteria andDrivingLicenceNotIn(List<String> values) {
            addCriterion("driving_licence not in", values, "drivingLicence");
            return (Criteria) this;
        }

        public Criteria andDrivingLicenceBetween(String value1, String value2) {
            addCriterion("driving_licence between", value1, value2, "drivingLicence");
            return (Criteria) this;
        }

        public Criteria andDrivingLicenceNotBetween(String value1, String value2) {
            addCriterion("driving_licence not between", value1, value2, "drivingLicence");
            return (Criteria) this;
        }

        public Criteria andVehicleLicenceIsNull() {
            addCriterion("vehicle_licence is null");
            return (Criteria) this;
        }

        public Criteria andVehicleLicenceIsNotNull() {
            addCriterion("vehicle_licence is not null");
            return (Criteria) this;
        }

        public Criteria andVehicleLicenceEqualTo(String value) {
            addCriterion("vehicle_licence =", value, "vehicleLicence");
            return (Criteria) this;
        }

        public Criteria andVehicleLicenceNotEqualTo(String value) {
            addCriterion("vehicle_licence <>", value, "vehicleLicence");
            return (Criteria) this;
        }

        public Criteria andVehicleLicenceGreaterThan(String value) {
            addCriterion("vehicle_licence >", value, "vehicleLicence");
            return (Criteria) this;
        }

        public Criteria andVehicleLicenceGreaterThanOrEqualTo(String value) {
            addCriterion("vehicle_licence >=", value, "vehicleLicence");
            return (Criteria) this;
        }

        public Criteria andVehicleLicenceLessThan(String value) {
            addCriterion("vehicle_licence <", value, "vehicleLicence");
            return (Criteria) this;
        }

        public Criteria andVehicleLicenceLessThanOrEqualTo(String value) {
            addCriterion("vehicle_licence <=", value, "vehicleLicence");
            return (Criteria) this;
        }

        public Criteria andVehicleLicenceLike(String value) {
            addCriterion("vehicle_licence like", value, "vehicleLicence");
            return (Criteria) this;
        }

        public Criteria andVehicleLicenceNotLike(String value) {
            addCriterion("vehicle_licence not like", value, "vehicleLicence");
            return (Criteria) this;
        }

        public Criteria andVehicleLicenceIn(List<String> values) {
            addCriterion("vehicle_licence in", values, "vehicleLicence");
            return (Criteria) this;
        }

        public Criteria andVehicleLicenceNotIn(List<String> values) {
            addCriterion("vehicle_licence not in", values, "vehicleLicence");
            return (Criteria) this;
        }

        public Criteria andVehicleLicenceBetween(String value1, String value2) {
            addCriterion("vehicle_licence between", value1, value2, "vehicleLicence");
            return (Criteria) this;
        }

        public Criteria andVehicleLicenceNotBetween(String value1, String value2) {
            addCriterion("vehicle_licence not between", value1, value2, "vehicleLicence");
            return (Criteria) this;
        }

        public Criteria andVehiclePhotosIsNull() {
            addCriterion("vehicle_photos is null");
            return (Criteria) this;
        }

        public Criteria andVehiclePhotosIsNotNull() {
            addCriterion("vehicle_photos is not null");
            return (Criteria) this;
        }

        public Criteria andVehiclePhotosEqualTo(String value) {
            addCriterion("vehicle_photos =", value, "vehiclePhotos");
            return (Criteria) this;
        }

        public Criteria andVehiclePhotosNotEqualTo(String value) {
            addCriterion("vehicle_photos <>", value, "vehiclePhotos");
            return (Criteria) this;
        }

        public Criteria andVehiclePhotosGreaterThan(String value) {
            addCriterion("vehicle_photos >", value, "vehiclePhotos");
            return (Criteria) this;
        }

        public Criteria andVehiclePhotosGreaterThanOrEqualTo(String value) {
            addCriterion("vehicle_photos >=", value, "vehiclePhotos");
            return (Criteria) this;
        }

        public Criteria andVehiclePhotosLessThan(String value) {
            addCriterion("vehicle_photos <", value, "vehiclePhotos");
            return (Criteria) this;
        }

        public Criteria andVehiclePhotosLessThanOrEqualTo(String value) {
            addCriterion("vehicle_photos <=", value, "vehiclePhotos");
            return (Criteria) this;
        }

        public Criteria andVehiclePhotosLike(String value) {
            addCriterion("vehicle_photos like", value, "vehiclePhotos");
            return (Criteria) this;
        }

        public Criteria andVehiclePhotosNotLike(String value) {
            addCriterion("vehicle_photos not like", value, "vehiclePhotos");
            return (Criteria) this;
        }

        public Criteria andVehiclePhotosIn(List<String> values) {
            addCriterion("vehicle_photos in", values, "vehiclePhotos");
            return (Criteria) this;
        }

        public Criteria andVehiclePhotosNotIn(List<String> values) {
            addCriterion("vehicle_photos not in", values, "vehiclePhotos");
            return (Criteria) this;
        }

        public Criteria andVehiclePhotosBetween(String value1, String value2) {
            addCriterion("vehicle_photos between", value1, value2, "vehiclePhotos");
            return (Criteria) this;
        }

        public Criteria andVehiclePhotosNotBetween(String value1, String value2) {
            addCriterion("vehicle_photos not between", value1, value2, "vehiclePhotos");
            return (Criteria) this;
        }

        public Criteria andCarBrandIdIsNull() {
            addCriterion("car_brand_id is null");
            return (Criteria) this;
        }

        public Criteria andCarBrandIdIsNotNull() {
            addCriterion("car_brand_id is not null");
            return (Criteria) this;
        }

        public Criteria andCarBrandIdEqualTo(Integer value) {
            addCriterion("car_brand_id =", value, "carBrandId");
            return (Criteria) this;
        }

        public Criteria andCarBrandIdNotEqualTo(Integer value) {
            addCriterion("car_brand_id <>", value, "carBrandId");
            return (Criteria) this;
        }

        public Criteria andCarBrandIdGreaterThan(Integer value) {
            addCriterion("car_brand_id >", value, "carBrandId");
            return (Criteria) this;
        }

        public Criteria andCarBrandIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("car_brand_id >=", value, "carBrandId");
            return (Criteria) this;
        }

        public Criteria andCarBrandIdLessThan(Integer value) {
            addCriterion("car_brand_id <", value, "carBrandId");
            return (Criteria) this;
        }

        public Criteria andCarBrandIdLessThanOrEqualTo(Integer value) {
            addCriterion("car_brand_id <=", value, "carBrandId");
            return (Criteria) this;
        }

        public Criteria andCarBrandIdIn(List<Integer> values) {
            addCriterion("car_brand_id in", values, "carBrandId");
            return (Criteria) this;
        }

        public Criteria andCarBrandIdNotIn(List<Integer> values) {
            addCriterion("car_brand_id not in", values, "carBrandId");
            return (Criteria) this;
        }

        public Criteria andCarBrandIdBetween(Integer value1, Integer value2) {
            addCriterion("car_brand_id between", value1, value2, "carBrandId");
            return (Criteria) this;
        }

        public Criteria andCarBrandIdNotBetween(Integer value1, Integer value2) {
            addCriterion("car_brand_id not between", value1, value2, "carBrandId");
            return (Criteria) this;
        }

        public Criteria andCarBrandTypeIdIsNull() {
            addCriterion("car_brand_type_id is null");
            return (Criteria) this;
        }

        public Criteria andCarBrandTypeIdIsNotNull() {
            addCriterion("car_brand_type_id is not null");
            return (Criteria) this;
        }

        public Criteria andCarBrandTypeIdEqualTo(Integer value) {
            addCriterion("car_brand_type_id =", value, "carBrandTypeId");
            return (Criteria) this;
        }

        public Criteria andCarBrandTypeIdNotEqualTo(Integer value) {
            addCriterion("car_brand_type_id <>", value, "carBrandTypeId");
            return (Criteria) this;
        }

        public Criteria andCarBrandTypeIdGreaterThan(Integer value) {
            addCriterion("car_brand_type_id >", value, "carBrandTypeId");
            return (Criteria) this;
        }

        public Criteria andCarBrandTypeIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("car_brand_type_id >=", value, "carBrandTypeId");
            return (Criteria) this;
        }

        public Criteria andCarBrandTypeIdLessThan(Integer value) {
            addCriterion("car_brand_type_id <", value, "carBrandTypeId");
            return (Criteria) this;
        }

        public Criteria andCarBrandTypeIdLessThanOrEqualTo(Integer value) {
            addCriterion("car_brand_type_id <=", value, "carBrandTypeId");
            return (Criteria) this;
        }

        public Criteria andCarBrandTypeIdIn(List<Integer> values) {
            addCriterion("car_brand_type_id in", values, "carBrandTypeId");
            return (Criteria) this;
        }

        public Criteria andCarBrandTypeIdNotIn(List<Integer> values) {
            addCriterion("car_brand_type_id not in", values, "carBrandTypeId");
            return (Criteria) this;
        }

        public Criteria andCarBrandTypeIdBetween(Integer value1, Integer value2) {
            addCriterion("car_brand_type_id between", value1, value2, "carBrandTypeId");
            return (Criteria) this;
        }

        public Criteria andCarBrandTypeIdNotBetween(Integer value1, Integer value2) {
            addCriterion("car_brand_type_id not between", value1, value2, "carBrandTypeId");
            return (Criteria) this;
        }

        public Criteria andDelIsNull() {
            addCriterion("del is null");
            return (Criteria) this;
        }

        public Criteria andDelIsNotNull() {
            addCriterion("del is not null");
            return (Criteria) this;
        }

        public Criteria andDelEqualTo(Byte value) {
            addCriterion("del =", value, "del");
            return (Criteria) this;
        }

        public Criteria andDelNotEqualTo(Byte value) {
            addCriterion("del <>", value, "del");
            return (Criteria) this;
        }

        public Criteria andDelGreaterThan(Byte value) {
            addCriterion("del >", value, "del");
            return (Criteria) this;
        }

        public Criteria andDelGreaterThanOrEqualTo(Byte value) {
            addCriterion("del >=", value, "del");
            return (Criteria) this;
        }

        public Criteria andDelLessThan(Byte value) {
            addCriterion("del <", value, "del");
            return (Criteria) this;
        }

        public Criteria andDelLessThanOrEqualTo(Byte value) {
            addCriterion("del <=", value, "del");
            return (Criteria) this;
        }

        public Criteria andDelIn(List<Byte> values) {
            addCriterion("del in", values, "del");
            return (Criteria) this;
        }

        public Criteria andDelNotIn(List<Byte> values) {
            addCriterion("del not in", values, "del");
            return (Criteria) this;
        }

        public Criteria andDelBetween(Byte value1, Byte value2) {
            addCriterion("del between", value1, value2, "del");
            return (Criteria) this;
        }

        public Criteria andDelNotBetween(Byte value1, Byte value2) {
            addCriterion("del not between", value1, value2, "del");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria implements Serializable {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion implements Serializable {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}